package com.shdanyan.domain.sys;

import com.shdanyan.domain.BaseEntity;

public class MenuInfo extends BaseEntity {

    private Long parentId;

    private Long permissionId;

    private String name;

    private int hasSubmenu;

    private String description;

    private int sequence;

    // the value is 1 if showed in UI otherwise 0
    private int status;

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHasSubmenu() {
        return hasSubmenu;
    }

    public void setHasSubmenu(int hasSubmenu) {
        this.hasSubmenu = hasSubmenu;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getSequence() {
        return sequence;
    }

    public void setSequence(int sequence) {
        this.sequence = sequence;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

}
